<include file="Public:header" />
<script type="text/javascript">

$(function(){
	$("#setStyle span").hover(function(){
		$(this).css('cursor','pointer');
	},function(){
		$(this).css('cursor','');
	});
	var c = readCookie('style');
	if (c){ switchStyle(c)}else{ switchStyle('red')};
	
	$("#setStyle span").click(function(){
		//alert($(this).attr('title'));
		switchStyle($(this).attr('name'));
		//$('#content').addClass($(this).attr('name'));
	});
	$("input[name='comment_quick']").click(function(){
		//alert($(this).val());
		$("#comment_form textarea").val($(this).val());
	});
	$("form[name='comment_form']").submit(function(){
		//$("#my_comment").hide();
		$("#my_comment_content").html($("#comment_form textarea").val());
		$("#my_comment").slideDown("slow");
		return false;
		
	});
});
</script>
<div id="main" class="w960">
    <div id="content">
    	<div id="tools">
        <div class="tools_content">
            <p class="setStyle" id="setStyle"> 
                <span class="text">配色：</span> 
                <span style="background-color:#3EC7FD" name="blue" title="蓝色"></span> 
                <span style="background-color:#FFF99D" name="yellow" title="黄色"></span> 
                <span style="background-color:#82B857" name="green" title="绿色"></span> 
                <span style="background-color:#DC9AD6" name="pink" title="粉色"></span> 
                <span style="background-color:#CD352C" name="red" title="红色"></span> 
                <span style="background-color:#52443C" name="brown" title="褐色"></span> 
            </p>
            <p class="setSize" id="setSize">
            	<span class="text">字号：</span>
                <span>大</span>
                <span>小</span>
            </p>
            <p class="setComment" id="setComment">
            	<span class="text color_red">发表评论</span>
            </p>
            <p class="setMark" id="setMark">
            	<span class="text"><a href="/user/manage/library_add/aid/{$vo.id}" rel="facebox" class="a_share">收藏</a></span>
            </p>
        </div>
        </div>
        <!--#tools-->
        <div id="article">
        <div id="article_title"><h1>{$vo['Archives']['title']}</h1></div>
        <div id="article_content">{$vo['Addonarticle']['body']}</div>
        </div>
        <!--#article-->
        <div id="other">
            <span class="author">本文作者：{$vo['Archives']['writer']}(<a href="{:U('/member/'.$vo['mid'])}">空间</a>)</span>
            <span class="click">点击次数({$vo['Archives']['click']})</span>
            <span class="deteline">发表日期：{$vo.senddate|date="Y/m/d",###}</span>
            <span class="editor">编辑：寸草园</span>
        </div>
        <!--#other-->
        <div id="comments">
        <div id="comment_quick">
        	<div class="comment_quick">
        	<label><strong>小提示</strong>：你可以选择下面最能表达您的意思的选项，然后点击"提交评论"。</label>
        	<input name="comment_quick" type="radio" value="楼主太有才了，文笔很不不错！" /><span class="good">楼主太有才了，文笔很不不错！</span>
            <input name="comment_quick" type="radio" value="不错，有思想，有深度。" /><span class="good">不错，有思想，有深度。</span>
            <input name="comment_quick" type="radio" value="少见的美文佳作！" /><span class="good">少见的美文佳作！</span><br />
            <input name="comment_quick" type="radio" value="文字一般，楼主加油。" /><span class="bad">文字一般，楼主加油。</span>
            <input name="comment_quick" type="radio" value="还行吧，楼主继续努力哦！" /><span class="bad">还行吧，楼主继续努力哦！</span>
            <input name="comment_quick" type="radio" value="同意楼上的，确实应该补补了。" /><span class="bad">同意楼上的，确实应该补补了。</span>
            </div>
        </div>
        <a name="comment_form"></a>
        <div id="comment_form">
        <form action="/post/" name="comment_form" method="post">
        
        <textarea name="comment_content" cols="" rows=""></textarea>
        <input value="提交评论" type="submit" />
        
        </form>
        </div>
        <div id="comment_list">
        <div id="my_comment">
        	<div class="comment_list">
            <div class="avatar"><img src="http://uc.discuz.net/data/avatar/001/16/72/59_avatar_small.jpg" /></div>
            <div class="comment_info">
                <div class="title">
                    <a href="space-297126.html" id="author_124144">骄纵</a>
                    <span class="gray">2009-08-17 14:51</span>
                </div>
                <div class="detail"  id="my_comment_content"></div>
            </div>
            </div>
        </div>
        <iterate name="comments" id="comments">
        <div class="comment_list" id="comments_{$comments.id}">
        <div class="avatar"><img src="{$comments.face}" /></div>
        <div class="comment_info">
            <div class="title">
                <div class="r_option">
                <a>回复</a>
                <a>举报</a>
                </div>
                <a href="{:U('member/'.$comments['mid'])}" id="comment_member_{$comments.id}" target="_blank">{$comments.username}</a>
                <span class="gray">{$comments.dtime|date="Y-m-d H:i:s",###}</span>
            </div>
            <div class="detail" id="comment_detail_{$comments.id}">{$comments.msg}</div>
        </div>
        </div>
        </iterate>
        <br />
        </div>
        
        <!--#comment_list-->
        
        
        
        </div>
    </div>
	<include file="Public:sidebar" />
    <div id="main_bottom"></div>
</div>
<include file="Public:footer" />